package com.shiwaixiangcun.customer.module.housebutler

import com.google.gson.annotations.SerializedName


/**
 * Author   Administrator
 * Date     2018/1/17
 * Desc     eg
 */


data class ButlerCategory(
        @SerializedName("icon") val icon: String,
        @SerializedName("id") val id: Long, //1
        @SerializedName("name") val name: String, //10
        @SerializedName("remake") val remake: String

)


data class ServiceRecordList(
        @SerializedName("elements") val elements: List<ServiceRecordEntity>,
        @SerializedName("page") val page: Int, //1
        @SerializedName("size") val size: Int, //10
        @SerializedName("totalAmount") val totalAmount: Int, //7
        @SerializedName("totalPages") val totalPages: Int //1
)

data class ServiceRecordEntity(
        @SerializedName("content") val content: String, //加了siteId
        @SerializedName("createTime") val createTime: Long, //1510627038000
        @SerializedName("id") val id: Long, //6460
        @SerializedName("number") val number: String, //06140
        @SerializedName("status") val status: String //UNTREATED
)


data class RecordDetailEntity(
        @SerializedName("baseInfo") val baseInfo: BaseInfo,
        @SerializedName("process") val process: List<Proces>
)

data class Proces(
        @SerializedName("mess") val mess: String, //在线报修申请提交成功，请等待处理
        @SerializedName("time") val time: Long, //1509438351000
        @SerializedName("type") val type: String //ACCEPTED
)

data class BaseInfo(
        @SerializedName("content") val content: String, //维权测试  存在图片
        @SerializedName("id") val id: Long, //6429
        @SerializedName("images") val images: List<Image>,
        @SerializedName("number") val number: String, //06103
        @SerializedName("status") val status: String, //ACCEPTED
        @SerializedName("time") val time: Long //1509438351000
)

data class Image(
        @SerializedName("accessUrl") val accessUrl: String, //http://resource.shiwaixiangcun.cn/group1/M00/00/69/rBKx51n4M3qAWb1sADQ9oFFyyDg464.jpg
        @SerializedName("fileId") val fileId: Int, //3975
        @SerializedName("thumbImageURL") val thumbImageURL: String //http://resource.shiwaixiangcun.cn/group1/M00/00/69/rBKx51n4M3qAWb1sADQ9oFFyyDg464_150x150.jpg
)